feat: add data binding artboards support#95
Merged
Conversation
f5604dc to
6d905b7
Compare
HayesGordon
reviewed
Jan 6, 2026
HayesGordon
reviewed
Jan 6, 2026
| import { type Metadata } from '../helpers/metadata'; | ||
|
|
||
| /** | ||
| * Data Binding Artboards Example |
Contributor
There was a problem hiding this comment.
Really good explanation. We should also update the other examples to link to the marketplace!
HayesGordon
requested changes
Jan 6, 2026
Contributor
HayesGordon
left a comment
There was a problem hiding this comment.
Looks great! But let's remove the ability to add a listener for the time being until Android supports it.
Add support for swapping artboards at runtime via data binding properties. This enables composing complex scenes from artboards in different Rive files. New APIs: - RiveFile.getBindableArtboard(name) - create bindable artboard reference - RiveFile.artboardNames / artboardCount - enumerate artboards - ViewModelInstance.artboardProperty(path) - get artboard property - ViewModelArtboardProperty.set(artboard) - swap artboard at runtime
5f0967c to
fc7cca9
Compare
HayesGordon
pushed a commit
to rive-app/rive-docs
that referenced
this pull request
Jan 6, 2026
## Summary - Add React Native code example for artboard data binding in the new runtime - Add React Native link to the data binding artboards demo card Related: rive-app/rive-nitro-react-native#95
mfazekas
pushed a commit
that referenced
this pull request
Jan 9, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.4](v0.1.3...v0.1.4) (2026-01-09) ### Features * add data binding artboards support ([#95](#95)) ([515070e](515070e)) * add release-please for automated releases ([#109](#109)) ([6403bd4](6403bd4)) * add viewModel and replaceViewModel for nested ViewModel access ([#96](#96)) ([3f61c98](3f61c98)) ### Bug Fixes * read initial value in useRiveProperty hooks ([#97](#97)) ([26223f2](26223f2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New APIs
RiveFile.getBindableArtboard(name)- create bindable artboard referenceRiveFile.artboardNames/artboardCount- enumerate artboardsViewModelInstance.artboardProperty(path)- get artboard propertyViewModelArtboardProperty.set(artboard)- swap artboard at runtimeExample
rive.mov
References